The Java “System.out” can be redirected during a debugging session using a UDP socket connection as described in
Section 5.9 “System Out” and
Section 5.9.3 “UDP”. Switching between Java “System.out” using serial port and Java “System.out” using UDP socket is done by a setting inside of the emulator configuration file “WM_Debug_config.ini” (e.g. TC65 Release 2: located under “TC65_R2\WTK\bin”, TC65 Release 3: located Windows OS dependent under "Application Data" folder as described in
Section 11.2). Switching Java “System.out” to serial port is used as default setting.
Please keep in mind that the handling of Java “System.out” is done asynchronous. It is possible, that not all Java “System.out” data are written into the IDE window. To avoid this problem please set a breakpoint in front of the Java function call “notifyDestroyed()” inside your Java source.